<?xml version="1.0" encoding="ISO-8859-1"?>
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">

	<ui:composition template="../../comum/main.xhtml">
		<ui:define name="pageBody">
			<h:form id="consultar_avaliador" style="vertical-align:top;">
			<t:saveState value="#{sistemaController.nomeSistema}" />
			<t:saveState value="#{sistemaController.linkSistema}" />
			
			
			<fieldset>
				<legend><strong><t:outputText value="Cadastrar Link"/></strong></legend>
				<br/>
				<table class="tabelaFormulario">
					<tr>
						<td width="17%">
							Nome do sistema: *
						</td>
						<td bgcolor="#E1FFD8" width="45%">
							<t:inputText id="Nome_do_sistema" forceId="true" value="#{sistemaController.nomeSistema}" required="true" size="50" maxlength="45"/>
						</td>
					</tr>
					<tr>
						<td width="17%">
							Link (url): *
						</td>
						<td bgcolor="#E1FFD8" width="45%">
							<t:inputText id="Link" forceId="true" value="#{sistemaController.linkSistema}" required="true" size="70" maxlength="65"/>
						</td>
					</tr>
				</table>
				
				<div id="botoes">
					<t:commandButton value="Cadastrar Link" action="#{sistemaController.cadastrarLink}"/>
				</div>
				
				
			</fieldset>
			</h:form>
		</ui:define>
	</ui:composition>
</f:view>